<?php if (!defined('THINK_PATH')) exit();?><form id="user-msg-info-form">
	<table class="table table-bordered user-msg-info" style="margin-bottom:0px">
		<tr>
			<td>姓名</td><td><input type="text" class="form-control" name="name" value="<?php echo ($userInfo["name"]); ?>"/></td>
			<td>男</td><td><input type="radio" style="margin: auto;" name="gender" value="男" id="man" class="form-control" <?php if($userInfo["gender"] == '男'): ?>checked<?php else: endif; ?> /></td>
			<td>女</td><td><input type="radio" name="gender" style="margin: auto;" value="女" id="woman" class="form-control" <?php if($userInfo["gender"] == '女'): ?>checked<?php else: endif; ?> /></td>
		</tr>
		<tr>
			<td>部门</td>
			<td colspan="5">
				<select class="form-control" name="department_id" style="width:60%;">
					<option value="-1">未审核</option>
					<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value="<?php echo ($vo["department_id"]); ?>"><?php echo ($vo["department_name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
				</select>
			</td>
		</tr>
		<tr><td>手机</td><td colspan="5"><input type="text" class="form-control" name="mobile" value="<?php echo ($userInfo["mobile"]); ?>"/></td></tr>
		<tr><td>邮箱</td><td colspan="5"><input type="text" class="form-control" name="email" value="<?php echo ($userInfo["email"]); ?>"/></td></tr>
		<tr><td>备注</td><td colspan="5"><textarea name="remark" class="form-control" value="<?php echo ($userInfo["remark"]); ?>"></textarea></td></tr>
	</table>
</form>
<script>
	if("<?php echo ($userInfo["department_id"]); ?>" == ""){
		$("select[name='department_id']").val("-1");
	}else{
		$("select[name='department_id']").val("<?php echo ($userInfo["department_id"]); ?>");
	}
</script>